home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
science
/
vpcalc23.zip
/
FASTFIB.VPC
< prev
next >
Wrap
Text File
|
1991-09-08
|
358b
|
17 lines
Rem Start of FastFib.VPC
x This VPCalc code file computes Fibonacci numbers using a fast formula
x To run, start VPCalc.Exe. At Command: prompt, enter:
x ----->>>>> Run("FastFib <<<<<-----;
x Harry Smith, 91/05/25.
a = Sqrt( 5)
b = (1 + a) / 2
x F = Int( 0.5 + b^n / a)
n = 78 x
F78 = F
n = 79 x
F79 = F
"End of FastFib.VPC"